package com.kaili.basic.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.basic.pojo.dto.MdmOpinionQueryDto;
import com.kaili.basic.pojo.entity.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by linjian on 19-7-31.
 */
@Mapper
public interface MdmOpinionMapper {

    void insert(MdmOpinion opinion);

    List<MdmOpinionExport> opinionInfoExport(MdmOpinionQueryDto dto);

    MdmOpinionEntity queryOpinionById(Integer id);

    void updateRdStatusById(Integer id);

    List<MdmOpinionInfoEntity> getBaseOpinionByCondition(Page<MdmOpinionInfoEntity> page, MdmOpinionQueryDto dto);

    List<MdmBaseMenu> getTreeList();
}
